csc /out:.\Scripts\GetArchiveName.exe Scripts\GetArchiveName.cs 
for /F %%P in ('.\Scripts\GetArchiveName.exe .\PrecompiledWeb\Bin\App_Code.dll') do set FileName=%%P
"c:\program files\winrar\winrar.exe" a -ep .\Releases\%FileName%.zip .\EvpoDocCircSetup\Release\*.*

rem if exists .\Releases\tmp then del .\Releases\tmp /F /S
"C:\Program Files\SlikSvn\bin\svn.exe" export . .\Releases\tmp

cd .\Releases\tmp
"c:\program files\winrar\winrar.exe" a -r ..\%FileName%src.zip *.*
cd ..\..
rd .\Releases\tmp /S /Q
